/**
 * File: User.java
 * Type: User
 * Created on 18-Apr-2011 at 12:29:43 AM
 */
package org.rvk.awasar.web.models;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;


/**
 * @author Ashish Kumar Sinha <aksinha.mail@gmail.com>
 *
 * Version 1.0
 */
public class User {
	private Long id;
	
	@NotNull
	@Size(min=1, max=25)
	private String name;

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	
}
